package com.ruoyi.supplier.service;

import com.ruoyi.supplier.domain.PurchaseAmount;
import com.ruoyi.supplier.domain.vo.PurchaseAmountVo;
import com.ruoyi.supplier.domain.bo.PurchaseAmountBo;
import com.ruoyi.common.mybatis.core.page.PageQuery;
import com.ruoyi.common.mybatis.core.page.TableDataInfo;

import java.util.Collection;
import java.util.List;

/**
 * 采购单费用结算Service接口
 *
 * @author ruoyi
 * @date 2023-09-18
 */
public interface IPurchaseAmountService {

    /**
     * 查询采购单费用结算
     */
    PurchaseAmountVo queryById(Integer purchaseAmountId);

    /**
     * 查询采购单费用结算列表
     */
    TableDataInfo<PurchaseAmountVo> queryPageList(PurchaseAmountBo bo, PageQuery pageQuery);

    /**
     * 查询采购单费用结算列表
     */
    List<PurchaseAmountVo> queryList(PurchaseAmountBo bo);

    /**
     * 修改采购单费用结算
     */
    Boolean insertByBo(PurchaseAmountBo bo);

    /**
     * 修改采购单费用结算
     */
    Boolean updateByBo(PurchaseAmountBo bo);

    /**
     * 校验并批量删除采购单费用结算信息
     */
    Boolean deleteWithValidByIds(Collection<Integer> ids, Boolean isValid);
}
